home *** CD-ROM | disk | FTP | other *** search
/ ShareWare OnLine 2 / ShareWare OnLine Volume 2 (CMS Software)(1993).iso / os2 / memsz161.zip / ENGLISH.DOC < prev    next >
Text File  |  1993-04-09  |  7KB  |  175 lines

  1. OS/2 System Resources - Comments
  2.  
  3.   This program provides a digital clock (with date), the amount of free
  4. physical memory, the current swap-file size, the maximum amount the swap-file
  5. can still grow, the current CPU load (%) and the amount of disk space free on
  6. each of your hard disks.  Each figure is updated once per second, at whatever
  7. interval from one to thirty seconds that you wish.  Removable disk drives 
  8. (including CDs) are not supported at this time.
  9.  
  10.   I've provided the source code.  Feel free to make changes, just send me a
  11. copy and leave my name (and CompuServe ID) intact.  I'm interested in your
  12. comments.
  13.  
  14.   One bug I know about: the OS/2 1.x function, DosMemAvail, which I use to
  15. obtain the amount of system memory free, is supposedly not to be counted on.
  16. Under the OS/2 2.0 beta releases, the function seemed to run just fine, but
  17. on the final release they seem to have dummied the thing out to report at least
  18. 512K.  For this reason, the Free Memory option is not all that useful on systems
  19. which use the swap-file more than a little.
  20.  
  21.   NOTE: If you'd like to see the program translated into another language,
  22. feel free to make your own version of ENGLISH.DOC, ENGLISH.CMD, ENGLISH.RC
  23. and ENGLISH.IPF.  Make your own version and send it to me via CompuServe mail,
  24. and I'll build the HLP, DLL and make files and post the updated package
  25. out to CompuServe for anyone to download.
  26.  
  27.  
  28. Installation:
  29.  
  30.   Under OS/2 2.0:
  31.  
  32.     Run the installation file ENGLISH.CMD.  It will ask you where you want
  33. the program stored and whether you want it to be placed in the startup folder.
  34. The job will create a program object and place it either on the desktop or
  35. in the system startup folder.  This object will have all its attributes set
  36. up correctly for running the program.
  37.  
  38.   Under OS/2 1.x:
  39.  
  40.     Copy the .EXE file wherever it is you want to put the thing.  Select the .DLL
  41. file for your language of choice and copy it to MEMSIZE.DLL.  The DLL file must
  42. be placed in a directory specified in your LIBPATH statement (in CONFIG.SYS).
  43. Select the .HLP file for your language and copy it to MEMSIZE.HLP.  The HLP file
  44. must be placed in a directory specified in the SET HELP= statement (in CONFIG.SYS).
  45. The program may be started by typing START MEMSIZE.
  46.  
  47.  
  48. Author:
  49.  
  50.   Rick Papo, CompuServe 72607,3111.
  51.   Translation to Spanish by Rick Papo and Xavier Caballe.
  52.   Translation to German by Dr. Herbert Klaeren, University of Tübingen, Germany.
  53.     (Internet: klaeren@informatik.uni-tuebingen.de)
  54.   Translation to Catalan by Xavier Caballe.
  55.     (Internet: xavier.caballe@abaforum.es)
  56.  
  57.  
  58. History:
  59.  
  60.   1.00 - Submitted to Compuserve's OS/2 Forum, early January, 1992.
  61.  
  62.   1.01 - Added single-line border.
  63.          Removed default TaskList processing, added custom logic.
  64.  
  65.   1.10 - Added ability to hide controls.
  66.          Added ability to be moved with the mouse, independent of title bar.
  67.          Added help facility.
  68.          Removed 'exit' option from system menu (Alt+F4 or F3 does fine).
  69.      Now searches CONFIG.SYS to find SWAPPATH.
  70.      Responds to WM_PRESPARAMCHANGED messages, allowing OS/2 2.0's
  71.        font, color and color scheme palettes to work with it properly.
  72.      Added CPU load indicator.
  73.      Added ability to select which items are to be monitored.
  74.      Added ability to reset presentation parameters to default state.
  75.  
  76.   1.20 - Restructured program to make status items easier to add.
  77.      Changed 'Swap-disk free space' to 'Available swap space'.
  78.      Added disk drive free space items.
  79.      Optimized window refresh logic.
  80.      Corrected minor bugs in handling font changes.
  81.  
  82.   1.21 - Fixed bug in computing swap-file size.
  83.  
  84.   1.22 - Fixed bug in computing available swapping space.
  85.  
  86.   1.23 - Fixed bugs in initial sizing and location of CONFIG.SYS.
  87.  
  88.   1.24 - Fixed underflow error in computing CPU load.
  89.  
  90.   1.25 - Fixed bug with determining swap-drive.
  91.  
  92.   1.26 - Switched from using COMSPEC to SYSTEM_INI when trying to determine
  93.        the boot drive in order to find CONFIG.SYS.    There have been
  94.        users with alternative command-line interpreters altering
  95.        COMSPEC to point to a different disk drive.    Something more
  96.        reliable was needed.  This is still not a perfect solution.
  97.  
  98.   1.27 - Fixed problem with initial positioning under OS/2 1.x.
  99.      If SYSTEM_INI cannot be found, look for COMSPEC instead.  If that
  100.        cannot be found, assume the boot drive to be current drive.
  101.  
  102.   1.28 - Fixed problem where title bar and system menu were not being
  103.        initialized correctly when the program started up with the
  104.        controls hidden.
  105.  
  106.   1.29 - Now skips removable drives during setup.
  107.      Now uses the Global Information Segment to determine boot drive,
  108.        and thereby the location of CONFIG.SYS.
  109.      Now accepts any color from the color palette.    It no longer forces
  110.        the use of solid colors.
  111.  
  112.   1.30 - Show Spool-file Size option added to program.
  113.      Fixed bug in adjusting options while program is minimized.
  114.  
  115.   1.31 - Changed to use DosFindFirst2 in spool-file search.
  116.      Minor clarity changes.
  117.  
  118.   1.40 - Added digital clock.
  119.  
  120.   1.41 - Added generic icon.  Had only the VGA definition before.
  121.  
  122.   1.42 - Responds to WM_SYSCOLORCHANGE message.
  123.      Fixed bug in spool directory scanning.
  124.  
  125.   1.50 (16 October 1992) -
  126.     Uses country information to determine date/time format.
  127.     Moved all language-dependent text to a DLL.
  128.     Created separate DLLs for English and Spanish texts.
  129.     Fixed bug in accessing network drives.
  130.     Don't bother looking at disk drives A: or B:.
  131.     Installation script for OS/2 2.0 added.
  132.  
  133.   1.51 (10 November 1992) -
  134.     Code streamlining.
  135.     Use country's thousands separator in numbers.
  136.     Turn off timer while moving window with the mouse.
  137.     German translation by Dr. H. Klaeren, University of Tubingen, Germany.
  138.  
  139.   1.52 (09 December 1992) -
  140.     Added command-line parameter processing.
  141.     Added RESET parameter to clear saved profile information.
  142.     Added timer interval dialog.
  143.     Added HELP option to menu.
  144.     Fixed bug in installation procedure.
  145.     Moved display item list to submenu.
  146.  
  147.   1.53 (28 December 1992) -
  148.     Fixed for Novell Server drives.
  149.     Split out debugging support to DEBUG.C & DEBUG.H.
  150.     Revised translation to Spanish.
  151.     Added translation to Catalan.
  152.     Rewrote CPU usage function.
  153.  
  154.   1.54 (30 January 1993) -
  155.     Added ALT+H accelerator for the hide controls menu function.
  156.     Treat ERROR_NOT_READY as removable media.
  157.     Rebuild menu and window when available drive list changes.
  158.     Treat ERROR_NOT_SUPPORTED as remote drive (TCP/IP).
  159.  
  160.   1.60 (08 March 1993) -
  161.     Added ability to monitor the number of active tasks, according
  162.       to the system switch list.
  163.     Fixed bug with attempts to hide controls while minimized.
  164.     Only checks drive types at startup and at time of NET USE.
  165.     Precalibrates the CPU load meter if HRTIMER.SYS is available.
  166.  
  167.   1.61 (09 April 1993) -
  168.     Now checks to see if a drive is remote before attempting to
  169.       open it as a complete drive.  All remote drives get monitored.
  170.       Only fixed local drives get monitored.
  171.     Show drive file system names.
  172.     Fixed bug in update of drive list.
  173.     If a drive returns an error during poll, stop trying to poll it.
  174.     Added item list resource lock.
  175.